Einhugur Word Plugin for Objo

Einhugur.Word.Run.ComplexRunPart Method

Returns Run at given index belonging to a complex Run.

ComplexRunPart(
   index as Integer) as Einhugur.Word.Run

Parameters

index
Index of the run part to fetch (zero based).

Returns

Einhugur.Word.Run
Run at the specified index, or nothing if it does not exist.

Remarks

Note that when your on the grouped run then smart logic is used to keep integrity of the document correct. So for example if you change text color of a Date field then text color is set in all 5 runs which the Date field uses. And if you read the Text property in a Date field then it will automatically read from correct Run in the set of 5 runs.

But the runs returned when you ask for the parts are by design “detached”, which means a tinkerer can read details on each run or change something but if you do not know what your doing then setting property on just one run from such set can compromise the document.

See Also

Einhugur.Word.Run Class